package cn.template.serve_project.service;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * excel导出接口
 */
public interface ExcelService<T> {
    /**
     * 导出报表
     *
     * @param excelObj 导出对象
     * @param response 网络请求对象
     */
     void export(T excelObj, HttpServletResponse response) throws IOException;
}
